package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FLimitListExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FLimitListExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNull() {
            addCriterion("trade_date is null");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNotNull() {
            addCriterion("trade_date is not null");
            return (Criteria) this;
        }

        public Criteria andTradeDateEqualTo(String value) {
            addCriterion("trade_date =", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotEqualTo(String value) {
            addCriterion("trade_date <>", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThan(String value) {
            addCriterion("trade_date >", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThanOrEqualTo(String value) {
            addCriterion("trade_date >=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThan(String value) {
            addCriterion("trade_date <", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThanOrEqualTo(String value) {
            addCriterion("trade_date <=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLike(String value) {
            addCriterion("trade_date like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotLike(String value) {
            addCriterion("trade_date not like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateIn(List<String> values) {
            addCriterion("trade_date in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotIn(List<String> values) {
            addCriterion("trade_date not in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateBetween(String value1, String value2) {
            addCriterion("trade_date between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotBetween(String value1, String value2) {
            addCriterion("trade_date not between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNull() {
            addCriterion("ts_code is null");
            return (Criteria) this;
        }

        public Criteria andTsCodeIsNotNull() {
            addCriterion("ts_code is not null");
            return (Criteria) this;
        }

        public Criteria andTsCodeEqualTo(String value) {
            addCriterion("ts_code =", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotEqualTo(String value) {
            addCriterion("ts_code <>", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThan(String value) {
            addCriterion("ts_code >", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ts_code >=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThan(String value) {
            addCriterion("ts_code <", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLessThanOrEqualTo(String value) {
            addCriterion("ts_code <=", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeLike(String value) {
            addCriterion("ts_code like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotLike(String value) {
            addCriterion("ts_code not like", value, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeIn(List<String> values) {
            addCriterion("ts_code in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotIn(List<String> values) {
            addCriterion("ts_code not in", values, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeBetween(String value1, String value2) {
            addCriterion("ts_code between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andTsCodeNotBetween(String value1, String value2) {
            addCriterion("ts_code not between", value1, value2, "tsCode");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andCloseIsNull() {
            addCriterion("close is null");
            return (Criteria) this;
        }

        public Criteria andCloseIsNotNull() {
            addCriterion("close is not null");
            return (Criteria) this;
        }

        public Criteria andCloseEqualTo(Float value) {
            addCriterion("close =", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseNotEqualTo(Float value) {
            addCriterion("close <>", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseGreaterThan(Float value) {
            addCriterion("close >", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseGreaterThanOrEqualTo(Float value) {
            addCriterion("close >=", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseLessThan(Float value) {
            addCriterion("close <", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseLessThanOrEqualTo(Float value) {
            addCriterion("close <=", value, "close");
            return (Criteria) this;
        }

        public Criteria andCloseIn(List<Float> values) {
            addCriterion("close in", values, "close");
            return (Criteria) this;
        }

        public Criteria andCloseNotIn(List<Float> values) {
            addCriterion("close not in", values, "close");
            return (Criteria) this;
        }

        public Criteria andCloseBetween(Float value1, Float value2) {
            addCriterion("close between", value1, value2, "close");
            return (Criteria) this;
        }

        public Criteria andCloseNotBetween(Float value1, Float value2) {
            addCriterion("close not between", value1, value2, "close");
            return (Criteria) this;
        }

        public Criteria andPctChgIsNull() {
            addCriterion("pct_chg is null");
            return (Criteria) this;
        }

        public Criteria andPctChgIsNotNull() {
            addCriterion("pct_chg is not null");
            return (Criteria) this;
        }

        public Criteria andPctChgEqualTo(Float value) {
            addCriterion("pct_chg =", value, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgNotEqualTo(Float value) {
            addCriterion("pct_chg <>", value, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgGreaterThan(Float value) {
            addCriterion("pct_chg >", value, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgGreaterThanOrEqualTo(Float value) {
            addCriterion("pct_chg >=", value, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgLessThan(Float value) {
            addCriterion("pct_chg <", value, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgLessThanOrEqualTo(Float value) {
            addCriterion("pct_chg <=", value, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgIn(List<Float> values) {
            addCriterion("pct_chg in", values, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgNotIn(List<Float> values) {
            addCriterion("pct_chg not in", values, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgBetween(Float value1, Float value2) {
            addCriterion("pct_chg between", value1, value2, "pctChg");
            return (Criteria) this;
        }

        public Criteria andPctChgNotBetween(Float value1, Float value2) {
            addCriterion("pct_chg not between", value1, value2, "pctChg");
            return (Criteria) this;
        }

        public Criteria andAmpIsNull() {
            addCriterion("amp is null");
            return (Criteria) this;
        }

        public Criteria andAmpIsNotNull() {
            addCriterion("amp is not null");
            return (Criteria) this;
        }

        public Criteria andAmpEqualTo(Float value) {
            addCriterion("amp =", value, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpNotEqualTo(Float value) {
            addCriterion("amp <>", value, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpGreaterThan(Float value) {
            addCriterion("amp >", value, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpGreaterThanOrEqualTo(Float value) {
            addCriterion("amp >=", value, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpLessThan(Float value) {
            addCriterion("amp <", value, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpLessThanOrEqualTo(Float value) {
            addCriterion("amp <=", value, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpIn(List<Float> values) {
            addCriterion("amp in", values, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpNotIn(List<Float> values) {
            addCriterion("amp not in", values, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpBetween(Float value1, Float value2) {
            addCriterion("amp between", value1, value2, "amp");
            return (Criteria) this;
        }

        public Criteria andAmpNotBetween(Float value1, Float value2) {
            addCriterion("amp not between", value1, value2, "amp");
            return (Criteria) this;
        }

        public Criteria andFcRatioIsNull() {
            addCriterion("fc_ratio is null");
            return (Criteria) this;
        }

        public Criteria andFcRatioIsNotNull() {
            addCriterion("fc_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andFcRatioEqualTo(Float value) {
            addCriterion("fc_ratio =", value, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioNotEqualTo(Float value) {
            addCriterion("fc_ratio <>", value, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioGreaterThan(Float value) {
            addCriterion("fc_ratio >", value, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioGreaterThanOrEqualTo(Float value) {
            addCriterion("fc_ratio >=", value, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioLessThan(Float value) {
            addCriterion("fc_ratio <", value, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioLessThanOrEqualTo(Float value) {
            addCriterion("fc_ratio <=", value, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioIn(List<Float> values) {
            addCriterion("fc_ratio in", values, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioNotIn(List<Float> values) {
            addCriterion("fc_ratio not in", values, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioBetween(Float value1, Float value2) {
            addCriterion("fc_ratio between", value1, value2, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFcRatioNotBetween(Float value1, Float value2) {
            addCriterion("fc_ratio not between", value1, value2, "fcRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioIsNull() {
            addCriterion("fl_ratio is null");
            return (Criteria) this;
        }

        public Criteria andFlRatioIsNotNull() {
            addCriterion("fl_ratio is not null");
            return (Criteria) this;
        }

        public Criteria andFlRatioEqualTo(Float value) {
            addCriterion("fl_ratio =", value, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioNotEqualTo(Float value) {
            addCriterion("fl_ratio <>", value, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioGreaterThan(Float value) {
            addCriterion("fl_ratio >", value, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioGreaterThanOrEqualTo(Float value) {
            addCriterion("fl_ratio >=", value, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioLessThan(Float value) {
            addCriterion("fl_ratio <", value, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioLessThanOrEqualTo(Float value) {
            addCriterion("fl_ratio <=", value, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioIn(List<Float> values) {
            addCriterion("fl_ratio in", values, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioNotIn(List<Float> values) {
            addCriterion("fl_ratio not in", values, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioBetween(Float value1, Float value2) {
            addCriterion("fl_ratio between", value1, value2, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFlRatioNotBetween(Float value1, Float value2) {
            addCriterion("fl_ratio not between", value1, value2, "flRatio");
            return (Criteria) this;
        }

        public Criteria andFdAmountIsNull() {
            addCriterion("fd_amount is null");
            return (Criteria) this;
        }

        public Criteria andFdAmountIsNotNull() {
            addCriterion("fd_amount is not null");
            return (Criteria) this;
        }

        public Criteria andFdAmountEqualTo(Float value) {
            addCriterion("fd_amount =", value, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountNotEqualTo(Float value) {
            addCriterion("fd_amount <>", value, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountGreaterThan(Float value) {
            addCriterion("fd_amount >", value, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountGreaterThanOrEqualTo(Float value) {
            addCriterion("fd_amount >=", value, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountLessThan(Float value) {
            addCriterion("fd_amount <", value, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountLessThanOrEqualTo(Float value) {
            addCriterion("fd_amount <=", value, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountIn(List<Float> values) {
            addCriterion("fd_amount in", values, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountNotIn(List<Float> values) {
            addCriterion("fd_amount not in", values, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountBetween(Float value1, Float value2) {
            addCriterion("fd_amount between", value1, value2, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFdAmountNotBetween(Float value1, Float value2) {
            addCriterion("fd_amount not between", value1, value2, "fdAmount");
            return (Criteria) this;
        }

        public Criteria andFirstTimeIsNull() {
            addCriterion("first_time is null");
            return (Criteria) this;
        }

        public Criteria andFirstTimeIsNotNull() {
            addCriterion("first_time is not null");
            return (Criteria) this;
        }

        public Criteria andFirstTimeEqualTo(String value) {
            addCriterion("first_time =", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeNotEqualTo(String value) {
            addCriterion("first_time <>", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeGreaterThan(String value) {
            addCriterion("first_time >", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeGreaterThanOrEqualTo(String value) {
            addCriterion("first_time >=", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeLessThan(String value) {
            addCriterion("first_time <", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeLessThanOrEqualTo(String value) {
            addCriterion("first_time <=", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeLike(String value) {
            addCriterion("first_time like", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeNotLike(String value) {
            addCriterion("first_time not like", value, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeIn(List<String> values) {
            addCriterion("first_time in", values, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeNotIn(List<String> values) {
            addCriterion("first_time not in", values, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeBetween(String value1, String value2) {
            addCriterion("first_time between", value1, value2, "firstTime");
            return (Criteria) this;
        }

        public Criteria andFirstTimeNotBetween(String value1, String value2) {
            addCriterion("first_time not between", value1, value2, "firstTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeIsNull() {
            addCriterion("last_time is null");
            return (Criteria) this;
        }

        public Criteria andLastTimeIsNotNull() {
            addCriterion("last_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastTimeEqualTo(String value) {
            addCriterion("last_time =", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotEqualTo(String value) {
            addCriterion("last_time <>", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeGreaterThan(String value) {
            addCriterion("last_time >", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeGreaterThanOrEqualTo(String value) {
            addCriterion("last_time >=", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLessThan(String value) {
            addCriterion("last_time <", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLessThanOrEqualTo(String value) {
            addCriterion("last_time <=", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeLike(String value) {
            addCriterion("last_time like", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotLike(String value) {
            addCriterion("last_time not like", value, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeIn(List<String> values) {
            addCriterion("last_time in", values, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotIn(List<String> values) {
            addCriterion("last_time not in", values, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeBetween(String value1, String value2) {
            addCriterion("last_time between", value1, value2, "lastTime");
            return (Criteria) this;
        }

        public Criteria andLastTimeNotBetween(String value1, String value2) {
            addCriterion("last_time not between", value1, value2, "lastTime");
            return (Criteria) this;
        }

        public Criteria andOpenTimesIsNull() {
            addCriterion("open_times is null");
            return (Criteria) this;
        }

        public Criteria andOpenTimesIsNotNull() {
            addCriterion("open_times is not null");
            return (Criteria) this;
        }

        public Criteria andOpenTimesEqualTo(Integer value) {
            addCriterion("open_times =", value, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesNotEqualTo(Integer value) {
            addCriterion("open_times <>", value, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesGreaterThan(Integer value) {
            addCriterion("open_times >", value, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("open_times >=", value, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesLessThan(Integer value) {
            addCriterion("open_times <", value, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesLessThanOrEqualTo(Integer value) {
            addCriterion("open_times <=", value, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesIn(List<Integer> values) {
            addCriterion("open_times in", values, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesNotIn(List<Integer> values) {
            addCriterion("open_times not in", values, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesBetween(Integer value1, Integer value2) {
            addCriterion("open_times between", value1, value2, "openTimes");
            return (Criteria) this;
        }

        public Criteria andOpenTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("open_times not between", value1, value2, "openTimes");
            return (Criteria) this;
        }

        public Criteria andStrthIsNull() {
            addCriterion("strth is null");
            return (Criteria) this;
        }

        public Criteria andStrthIsNotNull() {
            addCriterion("strth is not null");
            return (Criteria) this;
        }

        public Criteria andStrthEqualTo(Float value) {
            addCriterion("strth =", value, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthNotEqualTo(Float value) {
            addCriterion("strth <>", value, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthGreaterThan(Float value) {
            addCriterion("strth >", value, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthGreaterThanOrEqualTo(Float value) {
            addCriterion("strth >=", value, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthLessThan(Float value) {
            addCriterion("strth <", value, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthLessThanOrEqualTo(Float value) {
            addCriterion("strth <=", value, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthIn(List<Float> values) {
            addCriterion("strth in", values, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthNotIn(List<Float> values) {
            addCriterion("strth not in", values, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthBetween(Float value1, Float value2) {
            addCriterion("strth between", value1, value2, "strth");
            return (Criteria) this;
        }

        public Criteria andStrthNotBetween(Float value1, Float value2) {
            addCriterion("strth not between", value1, value2, "strth");
            return (Criteria) this;
        }

        public Criteria andLimitIsNull() {
            addCriterion("limit is null");
            return (Criteria) this;
        }

        public Criteria andLimitIsNotNull() {
            addCriterion("limit is not null");
            return (Criteria) this;
        }

        public Criteria andLimitEqualTo(String value) {
            addCriterion("limit =", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitNotEqualTo(String value) {
            addCriterion("limit <>", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitGreaterThan(String value) {
            addCriterion("limit >", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitGreaterThanOrEqualTo(String value) {
            addCriterion("limit >=", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitLessThan(String value) {
            addCriterion("limit <", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitLessThanOrEqualTo(String value) {
            addCriterion("limit <=", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitLike(String value) {
            addCriterion("limit like", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitNotLike(String value) {
            addCriterion("limit not like", value, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitIn(List<String> values) {
            addCriterion("limit in", values, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitNotIn(List<String> values) {
            addCriterion("limit not in", values, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitBetween(String value1, String value2) {
            addCriterion("limit between", value1, value2, "limit");
            return (Criteria) this;
        }

        public Criteria andLimitNotBetween(String value1, String value2) {
            addCriterion("limit not between", value1, value2, "limit");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}